<?php
use yii\helpers\Html;
use yii\web\View;
use yii\widgets\ActiveForm;
use backend\modules\statistics\models\StatisticsGuildSearch;
use backend\models\activeRecords\TGame;

/* @var $this View */
/* @var $model StatisticsDay */
/* @var $form ActiveForm */
?>

<div class="statistics-guild-search col-xs-12">
    <?php $form = ActiveForm::begin([
        'action' => ['index'],
        'method' => 'get',
        'options'=>['class'=>'form-inline col-xs-12']
    ]); ?>
    <div class="form-group col-xs-3">
            <?php //$form->field($model, 'id') ?>
            <?php //$form->field($model, 'reg_num') ?>
            <?php //$form->field($model, 'pay_sum') ?>
            <?php //$form->field($model, 'pay_num') ?>
            <?php //$form->field($model, 'pay_rate') ?>
            <?php // echo $form->field($model, 'arppu') ?>
            <?php // echo $form->field($model, 'next_remains') ?>
            <?php // echo $form->field($model, 'third_remains') ?>
            <?php // echo $form->field($model, 'seven_remains') ?>
            <?php // echo $form->field($model, 'thirty_remains') ?>
            <?php  echo $form->field($model, 'game_name')->dropDownList(TGame::getGameNameListOptions())?>
            <?php // echo $form->field($model, 'server_name') ?>
            <?php // echo $form->field($model, 'guild_sign') ?>
            <?php // echo $form->field($model, 'spread_key_2') ?>
            <?php // echo $form->field($model, 'record_time') ?>
            <?php  echo $form->field($model, 'date')->widget(\kartik\daterange\DateRangePicker::className()) ?>
    </div>

        <?= Html::submitButton(Yii::t('app', 'Search'), ['class' => 'btn btn-primary']) ?>
    <?php ActiveForm::end(); ?>
</div>
